Skip to content

Add buttons to edit and delete events as an admin#49

Merged
Jaz-spec merged 3 commits intomainfrom
admin
Jun 11, 2025
Merged

Add buttons to edit and delete events as an admin#49
Jaz-spec merged 3 commits intomainfrom
admin

Conversation

@FortyTwoFortyTwo
Copy link
Contributor

✨ What’s Changed?

Making use of fac-31/Pro0428-LocalEventBackend#41 to allow admin edit and delete events through the frontend.

When logging in as an admin, two buttons showed up at each event cards. Edit button redirects to a new page to allow change values, while delete button shows a popup on whenever to confirm delete.

📚 Related Issues

None

✅ Checklist

  • Lint & formatting passes (npm run lint / run lint:fix)
  • No type errors (npm run type-check)
  • Tests added or updated (if applicable)

@Jaz-spec Jaz-spec requested review from Jaz-spec and Oggie112 June 11, 2025 14:23
@Jaz-spec Jaz-spec merged commit b27f3b8 into main Jun 11, 2025
2 checks passed
@Jaz-spec Jaz-spec deleted the admin branch June 11, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants